#ifndef HERO_H
#define HERO_H

#include "Character.h"

class Hero : public Character
{
public:
    Hero();
    ~Hero();

    void initGameObjectWith(GamePlayScreen *_gameScreen, CCDictionary *_dict, signed char _group);
    virtual void resetHero();

    void createSprite();
    void createPhysicBody();
    void initControl();
    void beginContact(b2Fixture *ownFixture, b2Fixture *otherFixture, b2Contact *contact);
    void endContact(b2Fixture *ownFixture, b2Fixture *otherFixture, b2Contact *contact);
    void update(float dt);

    void applyForce();

public:
    bool isHide;
    unsigned char playerOrder;
    unsigned char lifeNumber;
    CCPoint forceVector;

    int itemArr[ITEM_NUM];
    WEAPON curWeapon;
};

#endif // HERO_H
